:root {
    --deep-blue: #0A2540;
    --navy-secondary: #0C2B4B;
    --navy-dark: #071A2E;
    --gold: #D4AF37;
    --gold-accent: #C5A059;
    --gold-light: rgba(212, 175, 55, 0.15);
    --green: #2E7D32;
    --white: #FFFFFF;
    --font-primary: 'Roboto', 'Inter', sans-serif;
}

/* Premium Card & Glassmorphism Styling */
.premium-card {
    background: #ffffff;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(10, 37, 64, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(10, 37, 64, 0.14);
    border-color: var(--gold);
}

.glass-card {
    background: rgba(10, 37, 64, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    color: #ffffff;
}

/* Custom Badges */
.badge-gold {
    background-color: var(--gold-light);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 12px;
}

.badge-gu {
    background-color: rgba(46, 125, 50, 0.15);
    color: #2E7D32;
    border: 1px solid #2E7D32;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-dayr {
    background-color: rgba(21, 101, 192, 0.15);
    color: #1565C0;
    border: 1px solid #1565C0;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* Brand Overrides */
.pc-sidebar {
    background: var(--deep-blue) !important;
}

.pc-sidebar .pc-link {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.pc-sidebar .pc-link:hover, .pc-sidebar .pc-item.active > .pc-link {
    color: var(--gold) !important;
    background: rgba(212, 175, 55, 0.12) !important;
    border-left: 4px solid var(--gold);
}

.pc-sidebar .pc-item.pc-caption {
    color: var(--gold) !important;
    opacity: 0.9;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.btn-primary, .bg-primary {
    background-color: var(--deep-blue) !important;
    border-color: var(--deep-blue) !important;
    color: #fff !important;
}

.btn-secondary, .bg-secondary {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #0A2540 !important;
    font-weight: 600 !important;
}

.btn-success {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
}

.text-primary {
    color: var(--deep-blue) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.pc-header {
    border-bottom: 2px solid var(--gold) !important;
    background: #ffffff !important;
}

.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}
.custom-card {
    border: 1px solid #ced4da;
}
.customizer-action svg{
    width: 23px !important;
    color: #ffffff !important;
}
.active-mode{
    border: solid 2px #000000 !important;
}
.property-img{
    max-width: 507px;
    max-height: 286px;
}
.text-justify{
    text-align: justify;
}
.custom .media{
    padding: 10px !important;
}
.user-avatar{
    width: 30px;
    height: 30px;
}
@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}
.blgcomment-list li .media img{
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}
.codex-sidebar .logo-gridwrap{
    padding: 0px 16px !important;
}

.setting-logo{
    width:300px !important;;
}

.landing-logo{
    max-width: 225px;

}
.auth-main .auth-wrapper.v2 .logo{
    max-width: 300px;

}
.b-brand .logo{
    max-width: 212px !important;

}
.lan-footer .codex-brand{
    margin-block-end: 0px !important;
}
.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}
.invoice-logo{
    width: 250px;
}

.codex-calendar .events-list li{
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}
.codex-calendar .events-list{
    overflow: auto;
    height: 863px;
}
.landing_logo{
    filter: drop-shadow(2px 3px 7px #011C4B);
}
.head-invoice img{
    width: 250px;
}
.cdx-invoice .body-invoice .table tr td{
    padding: 10px 10px !important;
}


.codex-brand img{
    width: 300px;
}
.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}
.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}
.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}
.select2-container .select2-selection--multiple{
    min-height: 43px !important;
}
.select2-container--default .select2-selection--multiple{
    border: 1px solid #e5e5e5;
}

/* =========================================================================== */
.dt-length{
    padding-left: 7px !important;
}
.dt-search{
    padding-right: 7px !important;
}
.dt-info{
    padding-left: 7px !important;
}
.dt-paging{
    padding-right: 7px !important;
}
.dt-buttons{
    padding-left: 7px !important;
    float: left;
}
.dt-container{
    margin-top: 10px;
}
.dt-info{
    float: left;
}
.dt-paging{
    float: right;
    padding-top: .85em;
}
.form-group{
    margin-bottom: 15px;
}
div:where(.swal2-container) h2:where(.swal2-title){
    font-size: 1.2em !important;
}
div:where(.swal2-container) .swal2-html-container{
    font-size: 0.9em !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.8em !important;
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{
    font-size: 0.8em !important;
}
div:where(.swal2-icon){
    width: 4em !important;
    height: 4em !important;
}
.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}
.testaments-cards::after {
    background: transparent !important;
}
.pricingpricing .price-card .product-list li::before {
    content : '\eb55';
    color: red;
}
.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #00c853;
}
.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active
{
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

@media print {
    .table-responsive {
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }
}

.color_type {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
    margin-right: 10px;
    margin-top: 10px;
    width: 48px;
    height: 48px;
    flex: none;
    cursor: pointer;
}

.cutom_colorr.active::after,
.cutom_colorr.custom::after {
    content: "✓";
    color: #fff;
    font-size: 30px;
    background: none !important;
    font-weight: 900;
    background-color: transparent !important;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    line-height: 0;
}




.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}

.modal-backdrop ~ .select2-container {
    width: 100% !important;
    z-index: 10000 !important;
  }

.select2-container--default .select2-selection--single .select2-selection__arrow {
    line-height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
}

.daterangepicker td.active, .daterangepicker td.active:hover,
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{
    background-color: rgba(var(--bs-secondary-rgb), 1);
}

.notifier-container {
    z-index: 1072;
}
.select2-container,
.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}

/* =========================================================================== */
/* Premium Redesigned Horizontal Footer Banner */
.takaful-footer-banner {
    background-color: #00205b;
    color: #ffffff;
    font-family: var(--font-primary, 'Roboto', sans-serif);
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.takaful-footer-banner .banner-container {
    display: flex;
    width: 100%;
    min-height: 80px;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .takaful-footer-banner .banner-container {
        flex-direction: column;
    }
}

/* Left Navy Section */
.takaful-footer-banner .banner-left {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-evenly;
    padding: 14px 40px;
    gap: 20px;
    background-color: #00205b;
}

@media (max-width: 1200px) {
    .takaful-footer-banner .banner-left {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 24px;
        padding: 30px 20px;
    }
}

.takaful-footer-banner .banner-item {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.takaful-footer-banner .banner-item:hover {
    transform: translateY(-3px);
}

.takaful-footer-banner .icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(204, 164, 59, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(204, 164, 59, 0.05);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.takaful-footer-banner .banner-item:hover .icon-wrapper {
    background: rgba(204, 164, 59, 0.15);
    box-shadow: 0 0 12px rgba(204, 164, 59, 0.4);
    border-color: #e5c158;
}

.takaful-footer-banner .icon-wrapper i {
    color: #e5c158;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.takaful-footer-banner .banner-item:hover .icon-wrapper i {
    transform: scale(1.1);
}

.takaful-footer-banner .item-content {
    display: flex;
    flex-direction: column;
}

.takaful-footer-banner .item-title {
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.2px;
}

.takaful-footer-banner .item-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin: 4px 0 0 0;
    white-space: nowrap;
}

/* Vertical Dividers */
.takaful-footer-banner .banner-divider {
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .takaful-footer-banner .banner-divider {
        display: none;
    }
}

/* Right Gold Section */
.takaful-footer-banner .banner-right {
    position: relative;
    background: linear-gradient(135deg, #cca43b 0%, #b5892b 100%);
    display: flex;
    align-items: center;
    padding: 14px 50px 14px 90px;
    min-width: 340px;
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .takaful-footer-banner .banner-right {
        padding: 30px 20px;
        min-width: auto;
        justify-content: center;
        background: linear-gradient(135deg, #cca43b 0%, #b5892b 100%);
    }
}

/* Curve Divider SVG */
.takaful-footer-banner .curve-transition {
    position: absolute;
    top: 0;
    left: -1px;
    bottom: 0;
    width: 75px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.takaful-footer-banner .curve-transition svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 1200px) {
    .takaful-footer-banner .curve-transition {
        display: none;
    }
}

.takaful-footer-banner .digital-access-container {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #ffffff;
    z-index: 3;
}

.takaful-footer-banner .digital-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.takaful-footer-banner .digital-icons i {
    font-size: 26px;
    color: #ffffff;
    opacity: 0.95;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.takaful-footer-banner .digital-icons i:hover {
    transform: scale(1.15);
    opacity: 1;
}

.takaful-footer-banner .digital-divider {
    width: 1px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.25);
}

.takaful-footer-banner .digital-content {
    display: flex;
    flex-direction: column;
}

.takaful-footer-banner .digital-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.2px;
}

.takaful-footer-banner .digital-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    margin: 4px 0 0 0;
    white-space: nowrap;
}

/* Polished Sub-footer & Dark Footer Adjustments */
footer.footer.bg-dark {
    background-color: #001a40 !important;
    padding: 0 !important;
    border-top: none !important;
}

.sub-footer {
    background-color: #001533 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 0 !important;
}

.sub-footer p {
    font-size: 13px;
    letter-spacing: 0.2px;
}

.sub-footer a {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sub-footer a:hover {
    color: #e5c158 !important;
}


